Mednafen Sega Saturn Documentation

#

# Sega Saturn Documentation

Last updated June 9, 2017
Valid as of 0.9.45.1

Table of Contents:

- Introduction
- Firmware/BIOS
- Default Input Mappings
  - Digital Gamepad on Virtual Port 1
  - Mouse on Virtual Ports 1-12
  - Light Gun on Virtual Ports 1-12
- Settings Reference

## Introduction

NOTE: The Sega Saturn emulation is currently experimental, and under active development, and save states are not currently supported. By default(and for the official releases for Windows), Saturn emulation is only compiled in for builds for some 64-bit architectures(x86_64, AArch64, PPC64). The separate SSF playback module does not have this limitation.

Mednafen's Sega Saturn emulation is extremely CPU intensive. The minimum recommended CPU is a quad-core Intel Haswell-microarchitecture CPU with a base frequency of >= 3.3GHz and a turbo frequency of >= 3.7GHz(e.g. Xeon E3-1226 v3), but note that this recommendation does not apply to any unofficial ports or forks, which may have higher CPU requirements.

Enabling CD image preloading into memory via the cd.image_memcache setting is recommended, to avoid short emulator pauses and audio pops due to waiting for disk accesses to complete when the emulated CD is accessed.

## Firmware/BIOS

Place the correct BIOS image files in the correct location.

The filenames listed below are per default ss.bios_* settings.

Filename: | Purpose: | SHA-256 Hash:
--- | --- | ---
sega_101.bin | BIOS image. Required for Japan-region games. | dcfef4b99605f872b6c3b6d05c045385cdea3d1b702906a0ed930df7bcb7deac
mpr-17933.bin | BIOS image. Required for North America/US-region and Europe-region games. | 96e106f740ab448cf89f0dd49dfbac7fe5391cb6bd6e14ad5e3061c13330266f

## Default Input Mappings

### Digital Gamepad on Virtual Port 1

Key: | Emulated Button:
--- | ---
W | Up
S | Down
A | Left
D | Right
Enter | START
Keypad 1 | A
Keypad 2 | B
Keypad 3 | C
Keypad 4 | X
Keypad 5 | Y
Keypad 6 | Z
Keypad 7 | Left Shoulder
Keypad 9 | Right Shoulder

### Mouse on Virtual Ports 1-12

NOTE: The default mapping for the emulated mouse "START" button conflicts with the default mapping for the "Enter" key on the emulated keyboards on all virtual ports, and the default mapping for "START" on the emulated digital gamepad on virtual port 1. If you want to use an emulated mouse with an emulated keyboard, you should probably remap the "START" button to a non-keyboard host device.

Button: | Emulated Button:
--- | ---
Mouse, Left Button | Left Button
Mouse, Right Button | Right Button
Mouse, Middle Button | Middle Button
Keyboard, Enter | START

### Light Gun on Virtual Ports 1-12

Button: | Emulated Button:
--- | ---
Mouse, Left Button | Trigger
Mouse, Middle Button | START
Mouse, Right Button | Offscreen Shot(simulated)

## Settings Reference

Caution: Any settings that change emulation behavior as seen from the emulated game are shown with the setting name bolded in the table. One should be conscious of these settings if one has changed them from the default values when using network play or movies, as they can cause desychronizations if not set the same among hosts(or between the recording emulator and the playing emulator).

Setting: | Value Type: | Possible Values: | Default Value: | Description:
--- | --- | --- | --- | ---
ss.bios_jp | string |  | sega_101.bin | Path to the Japan ROM BIOS
ss.bios_na_eu | string |  | mpr-17933.bin | Path to the North America and Europe ROM BIOS
ss.bios_sanity | boolean | 0 1 | 1 | Enable BIOS ROM image sanity checks.

ss.cart

enum

auto
none
backup
extram1
extram4
cs1ram16

auto

Expansion cart.

- auto - Automatic
- none - None
- backup - Backup Memory(512KiB)
- extram1 - 1MiB Extended RAM
- extram4 - 4MiB Extended RAM
- cs1ram16 - 16MiB RAM mapped in A-bus CS1

ss.cart.kof95_path | string |  | mpr-18811-mx.ic1 | Path to KoF 95 ROM image.
ss.cart.ultraman_path | string |  | mpr-19367-mx.ic1 | Path to Ultraman ROM image.
ss.cd_sanity | boolean | 0 1 | 1 | Enable CD (image) sanity checks.

ss.correct_aspect

boolean

0
1

1

Correct aspect ratio.

Disabling aspect ratio correction with this setting should be considered a hack.
If disabling it to allow for sharper pixels by also separately disabling interpolation(though using Mednafen's "autoipsharper" OpenGL shader is usually a better option), remember to use scale factors that are multiples of 2, or else games that use high-resolution and interlaced modes will have distorted pixels.
Disabling aspect ratio correction with this setting will allow for the QuickTime movie recording feature to produce much smaller files using much less CPU time.

ss.h_blend | boolean | 0 1 | 0 | Enable horizontal blend(blur) filter. Intended for use in combination with the "goat" OpenGL shader, or with bilinear interpolation or linear interpolation on the X axis enabled. Has a more noticeable effect with the Saturn's higher horizontal resolution modes(640/704).
ss.h_overscan | boolean | 0 1 | 1 | Show horizontal overscan area.
ss.input.mouse_sensitivity | real | through | 0.50 | Emulated mouse sensitivity.

ss.input.port1

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 1

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port1.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFF0000 | Crosshairs color for lightgun on virtual port 1. A value of 0x1000000 disables crosshair drawing.

ss.input.port10

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 10

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port10.gun_chairs | integer | 0x000000 through 0x1000000 | 0x00FF80 | Crosshairs color for lightgun on virtual port 10. A value of 0x1000000 disables crosshair drawing.

ss.input.port11

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 11

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port11.gun_chairs | integer | 0x000000 through 0x1000000 | 0x8080FF | Crosshairs color for lightgun on virtual port 11. A value of 0x1000000 disables crosshair drawing.

ss.input.port12

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 12

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port12.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFF8080 | Crosshairs color for lightgun on virtual port 12. A value of 0x1000000 disables crosshair drawing.

ss.input.port2

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 2

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port2.gun_chairs | integer | 0x000000 through 0x1000000 | 0x00FF00 | Crosshairs color for lightgun on virtual port 2. A value of 0x1000000 disables crosshair drawing.

ss.input.port3

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 3

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port3.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFF00FF | Crosshairs color for lightgun on virtual port 3. A value of 0x1000000 disables crosshair drawing.

ss.input.port4

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 4

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port4.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFF8000 | Crosshairs color for lightgun on virtual port 4. A value of 0x1000000 disables crosshair drawing.

ss.input.port5

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 5

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port5.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFFFF00 | Crosshairs color for lightgun on virtual port 5. A value of 0x1000000 disables crosshair drawing.

ss.input.port6

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 6

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port6.gun_chairs | integer | 0x000000 through 0x1000000 | 0x00FFFF | Crosshairs color for lightgun on virtual port 6. A value of 0x1000000 disables crosshair drawing.

ss.input.port7

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 7

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port7.gun_chairs | integer | 0x000000 through 0x1000000 | 0x0080FF | Crosshairs color for lightgun on virtual port 7. A value of 0x1000000 disables crosshair drawing.

ss.input.port8

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 8

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port8.gun_chairs | integer | 0x000000 through 0x1000000 | 0x8000FF | Crosshairs color for lightgun on virtual port 8. A value of 0x1000000 disables crosshair drawing.

ss.input.port9

enum

none
gamepad
3dpad
mouse
wheel
mission
dmission
gun
keyboard

gamepad

Input device for Virtual Port 9

- none - none
- gamepad - Digital Gamepad
  Standard Saturn digital gamepad.
- 3dpad - 3D Control Pad
  3D Control Pad
- mouse - Mouse
  Mouse
- wheel - Steering Wheel
  Arcade Racer/Racing Controller
- mission - Mission Stick
  Mission Stick
- dmission - Dual Mission
  Dual Mission Sticks, useful for "Panzer Dragoon Zwei". With 30 inputs to map, don't get distracted by..LOOK A LOBSTER!
- gun - Light Gun
  Virtua Gun/Stunner. Won't function properly if connected behind an emulated multitap.
  Emulation of the Saturn lightgun in Mednafen is not particularly accurate(in terms of low-level details), unless you happen to be in the habit of using your Saturn with a TV the size of a house and bright enough to start fires.
- keyboard - Keyboard (US)
  101-key US keyboard.
  Emulated keyboard key state is not updated unless input grabbing(by default, mapped to CTRL+SHIFT+Menu) is toggled on; refer to the main documentation for details.

ss.input.port9.gun_chairs | integer | 0x000000 through 0x1000000 | 0xFF80FF | Crosshairs color for lightgun on virtual port 9. A value of 0x1000000 disables crosshair drawing.
ss.input.sport1.multitap | boolean | 0 1 | 0 | Enable multitap on Saturn port 1.
ss.input.sport2.multitap | boolean | 0 1 | 0 | Enable multitap on Saturn port 2.
ss.midsync | boolean | 0 1 | 0 | Enable mid-frame synchronization. Mid-frame synchronization can reduce input latency, but it will increase CPU requirements.
ss.region_autodetect | boolean | 0 1 | 1 | Attempt to auto-detect region of game.

ss.region_default

enum

jp
na
eu
kr
tw
as
br
la

jp

Default region to use.

Used if region autodetection fails or is disabled.

- jp - Japan
- na - North America
- eu - Europe
- kr - South Korea
- tw - Taiwan
- as - China
- br - Brazil
- la - Latin America

ss.scsp.resamp_quality | integer | 0 through 10 | 4 | SCSP output resampler quality. 0 is lowest quality and CPU usage, 10 is highest quality and CPU usage. The resampler that this setting refers to is used for converting from 44.1KHz to the sampling rate of the host audio device Mednafen is using. Changing Mednafen's output rate, via the "sound.rate" setting, to "44100" may bypass the resampler, which can decrease CPU usage by Mednafen, and can increase or decrease audio quality, depending on various operating system and hardware factors.
ss.slend | integer | 0 through 239 | 239 | Last displayed scanline in NTSC mode.
ss.slendp | integer | -16 through 271 | 255 | Last displayed scanline in PAL mode.
ss.slstart | integer | 0 through 239 | 0 | First displayed scanline in NTSC mode.
ss.slstartp | integer | -16 through 271 | 0 | First displayed scanline in PAL mode.
ss.smpc.autortc | boolean | 0 1 | 1 | Automatically set RTC on game load. Automatically set the SMPC's emulated Real-Time Clock to the host system's current time and date upon game load.

ss.smpc.autortc.lang

enum

english
german
french
spanish
italian
japanese

english

BIOS language.

Also affects language used in some games(e.g. the European release of "Panzer Dragoon").

- english - English
- german - Deutsch
- french - Français
- spanish - Español
- italian - Italiano
- japanese - 日本語

Setting: | Value Type: | Possible Values: | Default Value: | Description:
--- | --- | --- | --- | ---

ss.debugger.disfontsize

enum

5x7
6x9
6x12
6x13
9x18

5x7

Disassembly font size.

Note: Setting the font size to larger than the default may cause text overlap in the debugger.

- 5x7 - 5x7
- 6x9 - 6x9
- 6x12 - 6x12
- 6x13 - 6x13. CJK support.
- 9x18 - 9x18; CJK support.

ss.debugger.memcharenc | string |  | SJIS | Character encoding for the debugger's memory editor.
ss.enable | boolean | 0 1 | 1 | Enable (automatic) usage of this module.
ss.forcemono | boolean | 0 1 | 0 | Force monophonic sound output.
ss.scanlines | integer | -100 through 100 | 0 | Enable scanlines with specified opacity. Opacity is specified in %; IE a value of "100" will give entirely black scanlines. Negative values are the same as positive values for non-interlaced video, but for interlaced video will cause the scanlines to be overlaid over the previous(if the video.deinterlacer setting is set to "weave", the default) field's lines.

ss.shader

enum

none
autoip
autoipsharper
scale2x
sabr
ipsharper
ipxnoty
ipynotx
ipxnotysharper
ipynotxsharper
goat

none

Enable specified OpenGL shader.

Obviously, this will only work with the OpenGL "video.driver" setting, and only on cards and OpenGL implementations that support shaders, otherwise you will get a black screen, or Mednafen may display an error message when starting up. When a shader is enabled, the ".videoip" setting is ignored.

- none - None/Disabled
- autoip - Auto Interpolation
  Will automatically interpolate on each axis if the corresponding effective scaling factor is not an integer.
- autoipsharper - Sharper Auto Interpolation
  Same as "autoip", but when interpolation is done, it is done in a manner that will reduce blurriness if possible.
- scale2x - Scale2x
- sabr - SABR v3.0
  GPU-intensive.
- ipsharper - Sharper bilinear interpolation.
- ipxnoty - Linear interpolation on X axis only.
- ipynotx - Linear interpolation on Y axis only.
- ipxnotysharper - Sharper version of "ipxnoty".
- ipynotxsharper - Sharper version of "ipynotx".
- goat - Simple approximation of a color TV CRT look.
  Intended for fullscreen modes with a vertical resolution of around 1000 to 1500 pixels. Doesn't simulate halation and electron beam energy distribution nuances.

ss.shader.goat.fprog | boolean | 0 1 | 0 | Force interlaced video to be treated as progressive. When disabled, the default, the "video.deinterlacer" setting is effectively ignored with respect to what appears on the screen. When enabled, it may be prudent to disable the scanlines effect controlled by the *.goat.slen setting, or else the scanline effect may look objectionable.
ss.shader.goat.hdiv | real | -2.00 through 2.00 | 0.50 | Constant RGB horizontal divergence.

ss.shader.goat.pat

enum

goatron
borg
slenderman

goatron

Mask pattern.

- goatron - Goatron
  Brightest.
- borg - Borg
  Darkest.
- slenderman - Slenderman
  Spookiest?

ss.shader.goat.slen | boolean | 0 1 | 1 | Enable scanlines effect.
ss.shader.goat.tp | real | 0.00 through 1.00 | 0.50 | Transparency of otherwise-opaque mask areas.
ss.shader.goat.vdiv | real | -2.00 through 2.00 | 0.50 | Constant RGB vertical divergence.

ss.special

enum

none
hq2x
hq3x
hq4x
scale2x
scale3x
scale4x
2xsai
super2xsai
supereagle
nn2x
nn3x
nn4x
nny2x
nny3x
nny4x

none

Enable specified special video scaler.

The destination rectangle is NOT altered by this setting, so if you have xscale and yscale set to "2", and try to use a 3x scaling filter like hq3x, the image is not going to look that great. The nearest-neighbor scalers are intended for use with bilinear interpolation enabled, at high resolutions(such as 1280x1024; nn2x(or nny2x) + bilinear interpolation + fullscreen stretching at this resolution looks quite nice).

- none - None/Disabled
- hq2x - hq2x
- hq3x - hq3x
- hq4x - hq4x
- scale2x - scale2x
- scale3x - scale3x
- scale4x - scale4x
- 2xsai - 2xSaI
- super2xsai - Super 2xSaI
- supereagle - Super Eagle
- nn2x - Nearest-neighbor 2x
- nn3x - Nearest-neighbor 3x
- nn4x - Nearest-neighbor 4x
- nny2x - Nearest-neighbor 2x, y axis only
- nny3x - Nearest-neighbor 3x, y axis only
- nny4x - Nearest-neighbor 4x, y axis only

ss.stretch

enum

0
full
aspect
aspect_int
aspect_mult2

aspect_mult2

Stretch to fill screen.

- 0 - Disabled
- full - Full
  Full-screen stretch, disregarding aspect ratio.
- aspect - Aspect Preserve
  Full-screen stretch as far as the aspect ratio(in this sense, the equivalent xscalefs == yscalefs) can be maintained.
- aspect_int - Aspect Preserve + Integer Scale
  Full-screen stretch, same as "aspect" except that the equivalent xscalefs and yscalefs are rounded down to the nearest integer.
- aspect_mult2 - Aspect Preserve + Integer Multiple-of-2 Scale
  Full-screen stretch, same as "aspect_int", but rounds down to the nearest multiple of 2.

ss.tblur | boolean | 0 1 | 0 | Enable video temporal blur(50/50 previous/current frame by default).
ss.tblur.accum | boolean | 0 1 | 0 | Accumulate color data rather than discarding it.
ss.tblur.accum.amount | real | 0 through 100 | 50 | Blur amount in accumulation mode, specified in percentage of accumulation buffer to mix with the current frame.

ss.videoip

enum

0
1
x
y

1

Enable (bi)linear interpolation.

- 0 - Disabled
- 1 - Bilinear
- x - Linear (X)
  Interpolation only on the X axis.
- y - Linear (Y)
  Interpolation only on the Y axis.

ss.xres | integer | 0 through 65536 | 0 | Full-screen horizontal resolution. A value of "0" will cause the desktop horizontal resolution to be used.
ss.xscale | real | 0.01 through 256 | 3.000000 | Scaling factor for the X axis in windowed mode.
ss.xscalefs | real | 0.01 through 256 | 1.000000 | Scaling factor for the X axis in fullscreen mode. For this settings to have any effect, the ".stretch" setting must be set to "0".
ss.yres | integer | 0 through 65536 | 0 | Full-screen vertical resolution. A value of "0" will cause the desktop vertical resolution to be used.
ss.yscale | real | 0.01 through 256 | 3.000000 | Scaling factor for the Y axis in windowed mode.
ss.yscalefs | real | 0.01 through 256 | 1.000000 | Scaling factor for the Y axis in fullscreen mode. For this settings to have any effect, the ".stretch" setting must be set to "0".